SocCode 
EntityType  Independent 
Logical Entity Name  SocCode 
Default Table Name  AdSOCCode 
Logical Only  NO 
Definition 
 
Note 
 

SocCode Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
Id(PK)    INTEGER  NO 
 
Code    VARCHAR(7)  NO 
 
Name    VARCHAR(255)  NO 
 
IsActive    BIT  NO 
 
CreatedDateTime    DATETIME  NO 
 
LastModifiedDateTime    DATETIME  NO 
 
LastModifiedUserId(FK)    INTEGER  NO 
 
RowVersion    TIMESTAMP/DATE  NO 
 
Note    VARCHAR(250)  YES 
 

SocCode Keys 
Key Name  Key Type  Keys 
NK_AdSOCCode_SOCCode  Alternate Key  Code 
PK_AdSOCCode_AdSOCCodeID  PrimaryKey  Id 

SocCode Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
Staff  Non-Identifying  One To Zero or More        LastModifiedUserId  NO 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 
CipSocDefaultCode  Non-Identifying  One To Zero or More          NO 
ProgramSocCode  Non-Identifying  One To Zero or More          NO 
ProgramVersionSocCode  Non-Identifying  One To Zero or More          NO 

SocCode Check Constraints 
Check Constraint Name  CheckConstraint